package com.yuexunit.finance.project.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
*@version 创建时间：2016年9月28日 下午3:20:26
*@author wenwenlong
*类说明
*/

@Entity
@Table(name = "FIN_COMMISSION_INFO")
public class FinanceCommissionInfoEntity {
	/** 融资信息ID */
	@Id
	@Column(name = "FINANCE_ID")
	private Long financeId;
	
	/** 融资单号 */
	@Column(name = "FINANCE_NUMBER")
	private String financeNumber;
	
	/** 产品年化率 */
	@Column(name = "PRODUCT_ANNUAL_RATE")
	private BigDecimal productAnnualRate;
	
	/** 融资金额 */
	@Column(name = "FINANCE_AMOUNT")
	private BigDecimal financeAmount;
	
	/** 总额 */
	@Column(name = "AMOUNT")
	private BigDecimal amount;
	
	/** 类型 0-分销商 1-个人 */
	@Column(name = "TYPE")
	private Integer type;
	
	/** 账户ID */
	@Column(name = "ACCOUNT_ID")
	private Long accountId;
	
	/** 姓名 */
	@Column(name = "NAME")
	private String name;
	
	/** 公式 */
	@Column(name = "FORMULA")
	private String formula;
	
	/** 说明 */
	@Column(name = "REMARK")
	private String remark;
	
	/** 账单生成状态 */
	@Column(name = "BILL_STATE")
	private Boolean billState;
	
	/** 企业名称 */
	@Column(name = "ENTERPRISE_NAME")
	private String enterpriseName;
	
	/** 企业ID */
	@Column(name = "ENTERPRISE_ID")
	private Long enterpriseId;

	/** 创建时间 */
	@Column(name = "CREATE_DT")
	private Date createDateTime;
	
	/** 提取ID */
	@Column(name = "EXTRACT_ID")
	private Long extractId;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getAccountId() {
		return accountId;
	}

	public void setAccountId(Long accountId) {
		this.accountId = accountId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getExtractId() {
		return extractId;
	}

	public void setExtractId(Long extractId) {
		this.extractId = extractId;
	}

	public Long getFinanceId() {
		return financeId;
	}

	public void setFinanceId(Long financeId) {
		this.financeId = financeId;
	}

	public String getFinanceNumber() {
		return financeNumber;
	}

	public void setFinanceNumber(String financeNumber) {
		this.financeNumber = financeNumber;
	}

	public BigDecimal getProductAnnualRate() {
		return productAnnualRate;
	}

	public void setProductAnnualRate(BigDecimal productAnnualRate) {
		this.productAnnualRate = productAnnualRate;
	}

	public BigDecimal getFinanceAmount() {
		return financeAmount;
	}

	public void setFinanceAmount(BigDecimal financeAmount) {
		this.financeAmount = financeAmount;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public String getFormula() {
		return formula;
	}

	public void setFormula(String formula) {
		this.formula = formula;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Boolean getBillState() {
		return billState;
	}

	public void setBillState(Boolean billState) {
		this.billState = billState;
	}

	public String getEnterpriseName() {
		return enterpriseName;
	}

	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}
}
